package com.itheima.dao;

public class Job {
    Integer id;
    String name;
    Integer mgr;
    double salary;

    public Job(Integer id, String name, Integer mgr, double salary) {
        this.id = id;
        this.name = name;
        this.mgr = mgr;
        this.salary = salary;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getMgr() {
        return mgr;
    }

    public void setMgr(Integer mgr) {
        this.mgr = mgr;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    @Override
    public String toString() {
        return "Job{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", mgr=" + mgr +
                ", salary=" + salary +
                '}';
    }
}
